<?php
class C_Service extends C_Abstract
{
    public function indexAction()
    {
        require_once MODULE_PATH .'/cms/link.php';
        $data_tmp = \Modules\Cms\Link::fetch('service', '', 30, 1, true);
        $data = array();
        foreach ($data_tmp as $row) {
            $data[$row['idx']][] = $row;
        }
        
        $this->smt->assign('data', $data);
        $this->smt->display('service.html');
    }
}